<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>{{$GLOBALS['systemInfo']->web_title or ''}}</title>
    <meta name="description" content="{{$GLOBALS['systemInfo']->web_description or ''}}" />
    <link type="text/css" rel="stylesheet" href="{{__CSS__}}style.css" />
    @yield('privateheader')
</head>
<body>
<div class="header_wrap">
    <div class="header_top clearfix">
        <a class="WJlogo" href="javascript:;">
            <img src="{{$GLOBALS['systemInfo']->web_logo or ''}}" alt="{{$GLOBALS['systemInfo']->web_title or ''}}" title="{{$GLOBALS['systemInfo']->web_title or ''}}">
        </a>
        <ul class="nav_menu clearfix">
            @if(!empty($GLOBALS['menuList']))
                <?php $menuN = 0;?>
                @foreach($GLOBALS['menuList'] as $mv)
                    @if($menuN == 0)
                        <li>
                            <a href="<?php echo empty($mv->route) ? $mv->url: $mv->route;?>" title="{{$mv->title or ''}}">{{$mv->title or ''}}<i></i></a>
                        </li>
                    @else
                            <li class="treelist">
                                <a href="<?php echo empty($mv->route) ? $mv->url: $mv->route;?>" title="{{$mv->title or ''}}">{{$mv->title or ''}}<i></i></a>
                                <div class="menuDiv clearfix">
                                    <div class="menu_wrap_l clearfix">
                                        <div class="MenuBar fr">
                                            <img alt="{{$mv->title or ''}}" src="{{$mv->img or ''}}" />
                                            <h2>{{$mv->title or ''}}</h2>
                                            <p>{{$mv->description or ''}}</p>
                                        </div>
                                    </div>
                                    @if(!empty($mv->_child))
                                        <div class="menu_wrap_r clearfix">
                                            <ul class="ulOne fl">
                                                @foreach($mv->_child as $mvChild)
                                                    <li><a href="<?php echo empty($mvChild->route) ? $mvChild->url: $mvChild->route;?>" title="{{$mvChild->title or ''}}">{{$mvChild->title or ''}}</a></li>
                                                @endforeach
                                            </ul>
                                        </div>
                                    @endif
                                </div>
                            </li>
                    @endif
                    <?php $menuN++;?>
                @endforeach
            @endif
        </ul>
    </div>
</div>
@yield('content')
<div class="footer_wrap">
    <div class="container">
        <div class="footer_top clearfix">
            <div class="wjtel"><img src="{{$GLOBALS['systemInfo']->web_footer_left_img}}" alt=""></div>
            <div class="hezuo">
                <p>合作伙伴</p>
                <ul class="hz_list clearfix">
                    @if(!empty($GLOBALS['firendlylink']))
                        @foreach($GLOBALS['firendlylink'] as $v)
                            <li><a class="hz_logo" href="{{$v->url or ''}}" target="_blank" title="{{$v->title or ''}}"><img src="{{$v->img or ''}}" title="{{$v->title or ''}}" alt="{{$v->title or ''}}"/></a></li>
                        @endforeach
                    @endif
                </ul>
            </div>
            <div class="wjWeixin"><img src="{{$GLOBALS['systemInfo']->web_footer_wx}}" /><span>扫一扫 分享至微信</span></div>
        </div>
        <div class="copyright">{{$GLOBALS['systemInfo']->web_icp or ''}}</div>
    </div>
</div>

<script type="text/javascript" src="{{__JS__}}jquery-1.9.1.min.js" ></script>
<script type="text/javascript" src="{{__JS__}}common.js" ></script>
@if(!empty($GLOBALS['systemInfo']->web_piwik))
    {!! $GLOBALS['systemInfo']->web_piwik !!}
@endif
@yield('privatefooter')
</body>
</html>
